package de.nak.fireDepartment.actionForms;

import org.apache.struts.action.ActionForm;

/**
 * Action form for handling the Login.
 * 
 * @author Sven Redelin
 */
@SuppressWarnings("serial")
public class LoginForm extends ActionForm {
	/** the username */
	private String userName;
	/** the password */
	private String password;
	/** the errormessage */
	private String wrongData;

	/**
	 * Gets the username
	 * @return the username
	 */
	public String getUserName() {
		return userName;
	}
	
	/**
	 * Sets the username
	 * @param string to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	 * Gets the password
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * Sets the password
	 * @param string to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Gets the message for wrongData
	 * @return the wrongData
	 */
	public String getWrongData() {
		return wrongData;
	}
	
	/**
	 * Sets the message for wrongData
	 * @param string to set
	 */
	public void setWrongData(String wrongData) {
		this.wrongData = wrongData;
	}
}
